<!--{include manage_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="/manage/misc/index.php">首页</a></li>
    <li><a href="/manage/misc/ask.php">网站答疑</a></li>
	<li style="float:right;  font-size:22px; ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8;">
    <!--{if $_SESSION['ali_token']}-->${mb_strimwidth($login_user['realname'],0,10)}<!--{else}-->${mb_strimwidth($login_user['username'],0,10)}<!--{/if}-->
	</a> </li>
    </ul>
    </div>
<style>
.sect table td,th{padding:5px;}
</style>
 <div class="rightinfo">

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_misc('ask')}</ul>
	</div>-->
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
				<div class="formtitle"><span>网站答疑</span></div>
                    <ul class="filter">
						<li>
						<form action="/manage/misc/ask.php" method="get">
						答疑项目：<input type="text" class="h-input" name="title" value="${htmlspecialchars($title)}" >&nbsp;<select name="type">${Utility::Option($option_ask, $type, '分类')}</select>&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/>
						</form>
						</li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="5" border="1" bordercolor="#89B4D6" style="width:100%;" class="coupons-table">
					<tr><th width="260">项目名称</th><th width="60">咨询人</th><th width="200">咨询</th><th width="200">答复</th><th width="120">操作</th></tr>
					<!--{loop $asks $index $one}-->
					<tr ${$index%2?'':'class="alt"'} id="team-list-id-{$one['id']}">
						<td><a class="deal-title" href="/team.php?id={$one['team_id']}" target="_blank">{$teams[$one['team_id']]['title']}</a></td>
						<td nowrap>{$users[$one['user_id']]['username']}</td>
						<td>${htmlspecialchars($one['content'])}</td>
						<td>${htmlspecialchars($one['comment'])}</td>
						<td class="op" nowrap><a href="/manage/misc/askedit.php?id={$one['id']}&r={$currefer}">答复</a>｜<a href="/manage/misc/askremove.php?id={$one['id']}&r={$currefer}" class="remove-record">删除</a></td>
					</tr>
					<!--{/loop}-->
					<tr><td colspan="5">{$pagestring}</tr>
                    </table>
				</div>
            </div>

        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->
   
    </div>
    
    </div>
    <!--leftinfo end-->
  </div>  
<!--mainleft end-->
<script type="text/javascript">
	setWidth();
	$(window).resize(function(){
		setWidth();	
	});
	function setWidth(){
		var width = ($('.leftinfos').width()-12)/2;
		$('.infoleft,.inforight').width(width);
	}
</script>
<!--{include manage_footer}-->

